package com.kx.talk.client;

import com.kx.base.dto.user.UserInfosDTO;
import com.kx.base.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 调用用户模块的服务类
 *
 * @Author Sun
 * @Date 2021/7/29 21:30
 */
@FeignClient(value = "user-service")
public interface UserClient {
    @PostMapping("kx/user/userinfos")
    R queryUserInfos(@RequestBody UserInfosDTO userInfoDTOs);
}
